package cn.yfxu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yfxu
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Testy implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "Id",type = IdType.ASSIGN_ID)
    private String id;

    private String name;

    public Testy(String name) {
        this.name = name;
    }
}
